package graffeo.osu;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.content.Intent;


public class directionsActivity extends Activity{
	public Button goBack;
	public void onCreate(Bundle savedInstanceState) {
		 	
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.directions);
	        goBack = (Button)findViewById(R.id.backButton);
	        
	       goBack.setOnClickListener(new OnClickListener() {
	            public void onClick(View v) {
	                //Start next activity
	                Intent myIntent = new Intent(directionsActivity.this, gameActivity.class);
	                directionsActivity.this.startActivity(myIntent);
	            }
	        });
	        
	    }
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
		finish();
	}
}
